package com.example.sm.mycook.beans;

import java.util.List;

/**
 * Created by Administrator on 2016/12/6.
 */
public class HomeComboBean {

    /**
     * hasError : false
     * errorCode : 200
     * statusCode : 200
     * errorMessage :
     * data : [{"pId":34,"pName":"初冬火锅小套餐第一期","description":"立冬了，就爱和家人围坐一起，涮着火锅哼着歌，暖暖的，超幸福！","price":39.9,"materialName":"荤类、水产、平价蔬菜、精品蔬菜、水果","url":"http://img.i-kitchen.cn/upload/1b6ef79f-0408-4bbc-ac51-81355a1eb478.jpg"},{"pId":35,"pName":"冬季净菜自选套餐（2-3人）","description":"多种特色美味随心选，自己的味蕾自己主宰，我厨超值美味套餐，让你的餐桌更精彩！","price":39,"materialName":"特色大荤、风味小荤、营养素菜","url":"http://img.i-kitchen.cn/upload/3a57ce5d-802e-403a-a955-334a8421ab0d.jpg"},{"pId":36,"pName":"冬季净菜自选套餐（3-5人）","description":"多种特色美味随心选，自己的味蕾自己主宰，我厨超值美味套餐，让你的餐桌更精彩！","price":62,"materialName":"精品特色大荤、人气特色大荤、风味小荤、营养素菜","url":"http://img.i-kitchen.cn/upload/f98157f9-4f41-44c4-b6f6-0660b7d6e37c.jpg"},{"pId":37,"pName":"冬季食材自选套餐","description":"冬季要注意进补，既要多食肉类，也要保持营养的均衡，一份滋补肉类，一份鲜美水产，再来一份爽口素食，搭配清甜多汁的水果，美味兼具营养，完美！","price":39.9,"materialName":"荤类、水产、精品蔬菜、水果","url":"http://img.i-kitchen.cn/upload/358aaab4-57bc-497a-84fd-a672ce2a831e.jpg"}]
     */

    private boolean hasError;
    private String errorCode;
    private String statusCode;
    private String errorMessage;
    /**
     * pId : 34
     * pName : 初冬火锅小套餐第一期
     * description : 立冬了，就爱和家人围坐一起，涮着火锅哼着歌，暖暖的，超幸福！
     * price : 39.9
     * materialName : 荤类、水产、平价蔬菜、精品蔬菜、水果
     * url : http://img.i-kitchen.cn/upload/1b6ef79f-0408-4bbc-ac51-81355a1eb478.jpg
     */

    private List<DataBean> data;

    public boolean isHasError() {
        return hasError;
    }

    public void setHasError(boolean hasError) {
        this.hasError = hasError;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int pId;
        private String pName;
        private String description;
        private double price;
        private String materialName;
        private String url;

        public int getPId() {
            return pId;
        }

        public void setPId(int pId) {
            this.pId = pId;
        }

        public String getPName() {
            return pName;
        }

        public void setPName(String pName) {
            this.pName = pName;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getMaterialName() {
            return materialName;
        }

        public void setMaterialName(String materialName) {
            this.materialName = materialName;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
